package cn.edu.hit.core.db;

import cn.edu.hit.core.Document;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface DataReader {
    Document getById(String _id);

    List<Document> queryByTemplate(Map<String, Object> template);
}
